import * as API from './axios';
const qs = require('qs');
let base = process.env.BUSINESS_BASE_URL;

export default {
    getUserContents: (params) => {
        return API.GET('/hub/user/admin/api/contents', params, base)
    },
    oauth2Api: (params) => {
        return API.POST('/hub/api/oauth2/token', params,base)
    },
  }